<?php defined('SYSPATH') or die('No direct access allowed.');

class Model_User_Desktop extends ORM {

	// Relationships
	protected $_belongs_to = array('user' => array(),
                                       'wallpaper' => array('model' => 'file','foreign_key' => 'file_id'));
        
        
        	
	public function rules()
	{
		return array(
                        
			'color' => array(
                                array('not_empty'),
				array('Valid::color')
                        )
		);
	}

}